package com.cgwx.tmservice.entity.tm;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 遥测原码记录表
 * </p>
 *
 * @author GaoWei
 * @since 2023-08-31
 */

@Component
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TmInfoLogDate对象", description="遥测原码记录表")
public class TmInfoLogDate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "遥测帧ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "遥测帧标识符，唯一确定遥测帧代号，例：0_2_1")
    private String tmframeIdentifiers;

    @ApiModelProperty(value = "遥测帧原码数据")
    private String value;

    @ApiModelProperty(value = "数据通路c:can,s:s,x:x,cor:cortex")
    @TableField("dataChannel")
    private String dataChannel;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
}
